package com.wiscamp.ninechapters.problems.adapter.items;

import com.wiscamp.ninechapters.ddd.PersistenceObject;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 题集
 */
@Data
public class ItemPoolDto implements PersistenceObject {

    /**
     * 题集编号
     */
    private long poolId = 0;

    /**
     * 题集代码
     */
    private String poolCode = "";

    /**
     * 题集名称
     */
    private String poolName = "";

    /**
     * 题集类别
     */
    private int poolCategory = 0;

    /**
     * 机构编号
     */
    private long organizationId = 0;

    /**
     * 考试编号
     */
    private long examId = 0;

    /**
     * 学科编号
     */
    private long subjectId = 0;

    /**
     * 语言代码
     */
    private String languageCode = "";

    /**
     * 总分
     */
    private int totalScore = 0;

    /**
     * 总时间限制
     */
    private int totalTimeLimit = 0;

    /**
     * 是否真题
     */
    private boolean trueProblem = false;

    /**
     * 题集来源
     */
    private String poolSource = "";

    /**
     * 题集摘要
     */
    private String poolSummary = "";

    /**
     * 备注
     */
    private String remark = "";

    /**
     * 是否可用
     */
    private boolean active = true;

    /**
     * 是否删除
     */
    private boolean deleted = false;

    /**
     * 创建用户
     */
    private long createUser = 0;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 编辑用户
     */
    private long editUser = 0;

    /**
     * 编辑时间
     */
    private LocalDateTime editTime;

    /**
     * 时间戳
     */
    private LocalDateTime timeStamp;

    /**
     * 题数量
     */
    private int itemQuantity = 0;
}